:root {
  --pic: url("@/assets/img/08-.jpg");
  --x: 0;
  --y: 0;
}

#g-container {
  position: relative;
  margin: auto;
  width: 350px;
  height: 500px;
  border-radius: 30px;
  transition: all 0.1s;
  z-index: 3;

  &::after {
    content: "";
    position: absolute;
    inset: 50px;
    background: var(--pic);
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    z-index: 10;
  }
}

#g-filter {
  position: absolute;
  inset: 2px;
  border-radius: 30px;
  z-index: 5;
  overflow: hidden;

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--pic);
    background-size: cover;
    filter: blur(20px);
  }
}

#g-img {
  position: absolute;
  filter: brightness(1.5);
  inset: 0;
  z-index: 0;
  mask: radial-gradient(
    circle at var(--x) var(--y),
    #000,
    #000,
    transparent,
    transparent,
    transparent
  );

  &::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 30px;
    background: conic-gradient(#03a9f4, #e91e63, #9c27b0, #ff5722, #03a9f4);
  }
  &::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: conic-gradient(#03a9f4, #e91e63, #9c27b0, #ff5722, #03a9f4);
  }
}
